PEGetNDetailCopies

Use PEGetNDetailCopies to retrieve the number of copies of each Details section in the report that are to be printed. Use this function to find out how many times each Details section of the report will be printed. To change the number of times each Details section is printed, use PESetNDetailCopies.

C Syntax
BOOL CRPE_API PEGetNDetailCopies (
        short printJob,
        short FAR *nDetailCopies );
Parameters

printJob

Specifies the print job that you want to query to determine how many times each Details section is to be printed.

nDetailCopies

Specifies a pointer to the number of copies of the Details section to be printed.

Returns
VB Syntax
Declare Function PEGetNDetailCopies Lib "crpe32.dll" (
    ByVal printJob As Integer, nDetailCopies As Integer ) As Integer
Delphi Syntax
function PEGetNDetailCopies(
    printJob: Word;
    var nDetailCopies: integer
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com